﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Brjostagjof.Models.VideoViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Brjóstagjöf - Myndbönd
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h1>Myndbönd</h1>

            <div>
            
            <div id="container">Loading...</div> 
            <script type="text/javascript">
                jwplayer('container').setup({
                    'flashplayer': '/jwplayer/player.swf',
                    'width': '480',
                    'height': '270',
                    'provider':'video',
                    'http.dvr':'true',
                    'file': '/Home/ShowVideo/<%: Model.video.ID %>'
                }); 



            </script>

    </div>

    <p class= "tilbaka">
        <%: Html.ActionLink("Til Baka", "MyndbandaListi") %>
    </p>

</asp:Content>

